/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dominio.util;

/**
 *
 * @author pbarros
 */
public class BinModeloLista {



    private int id;

    private String descricao;

    /** Creates a new instance of bean */
    public BinModeloLista() {
    }

    public BinModeloLista(int id,String descricao) {
        this.setId(id);
        this.setDescricao(descricao);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescricao() {
        return descricao;
    }

    public void setDescricao(String descricao) {
        this.descricao = descricao;
    }

    @Override
    public String toString(){
        return(this.descricao == null?"":this.descricao);
    }




}
